home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML Instance.sea / XML Instance / Required / plugins / HTMLWindow.jar / horst / HTMLView.class (.txt) < prev    next >
Encoding:
Java Class File  |  2000-03-18  |  866 b   |  20 lines

  1. package horst;
  2.  
  3. import java.awt.Rectangle;
  4.  
  5. public class HTMLView extends BlockView {
  6.    public HTMLView(View parent, Element e, HTMLPane container) {
  7.       super(parent, e, container);
  8.    }
  9.  
  10.    protected boolean isFloaterClearer() {
  11.       return true;
  12.    }
  13.  
  14.    protected Rectangle layout(int x, int y, int width, LayoutInfo info) {
  15.       ((View)this).reset();
  16.       super.layout(x, y, width, info);
  17.       return super.m_bounds;
  18.    }
  19. }
  20.